@font-face {
    font-family: 'poppins-semibold';
    src: url('/common/poppins/Poppins-SemiBold.otf');
}

@font-face {
    font-family: 'poppins-regular';
    src: url('/common/poppins/Poppins-Regular.otf');
}

@font-face {
    font-family: 'poppins-medium';
    src: url('/common/poppins/Poppins-Medium.otf');
}

@font-face {
    font-family: 'poppins-bold';
    src: url('/common/poppins/Poppins-Bold.otf');
}

.bold {
    font-family: 'poppins-bold', sans-serif;
}

.semi-bold {
    font-family: 'poppins-semibold', sans-serif;
}

.medium {
    font-family: 'poppins-medium', sans-serif;
}

.regular {
    font-family: 'poppins-regular', sans-serif;
}

.dark-text {
    color: #22304A;
}

.light-text {
    color: #7888A2;
}

.lighter-text {
    color: #AABAD4;
}

.theme-text {
    color: #0072FF;
}

.theme-bg {
    background: linear-gradient(to right, #0072FF, #00C6FF);
    color: #ffffff;
}

.body {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 10px;
    background-color: #FFFFFF;
}

.container {
    padding: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.main {
    width: 600px;
    overflow: scroll;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.user {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50px;
    margin-right: 40px;
}

.user-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.user-name {
    font-size: 20px;
}

.user-message {
    font-size: 18px;
}


.rooms {
    margin: 20px 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: scroll;
}

.rooms .room {
    margin-left: 15px;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.active-room-indicator {
    width: 50px;
    height: 30px;
}

.controls {
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    align-items: center;
}

.controls-card {
    width: 290px;
    height: 320px;
    border-radius: 10px;
}

.main-control {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-control-header {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ac-icon {
    width: 100px;
    height: 60px;
    margin-right: 30px;
    margin-left: 10px;
}

.ac-toggle {
    width: 80px;
    height: 20px;
}

.main-control-header-title {
    font-size: 15px;
    width: 150px;
}

.controller {
    display: flex;
    justify-content: center;
    align-items: center;
}

.controller .level, .minus, .plus {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 10px;
}

.minus-button, .plus-button {
    border-radius: 50px;
    width: 50px;
    height: 50px;
    margin: 10px;
}

.range {
    width: 125px;
    height: 125px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('common/images/range.png');
    background-size: cover;
    background-position: center;
}

.curve-bg {
    width: 90px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('common/images/curve_bg.png');
    background-size: cover;
    background-position: center;
}

.curve-bg .progress {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
}

.curve-bg .progress-bar {
    margin: 5px;
    stroke-width: 12px;
    background-color: transparent;
    transform: rotate(-120deg);
}

.curve-bg .progress-value {
    width: 90px;
    height: 95px;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('common/images/value_bg.png');
    background-size: cover;
    background-position: center;
}

.progress-value-header {
    font-size: 12px;
}

.progress-value-header {
    font-size: 7px;
}


.modes {
    margin-top: 20px;
}

.modes image {
    width: 30px;
    height: 30px;
}

.dry-mode, .cool-mode, .fan-mode, .turbo-mode {
    margin: 10px;
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.other-controls {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.lamp-control, .fan-control {
    border-radius: 10px;
    width: 260px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
}

.other-controls-icon2 {
    width: 30px;
    height: 30px;
}


.other-controls-icon1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 8px;
    width: 40px;
    height: 100%;
}

.other-controls-slider {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60%;
    margin: 0 20px;
}

.other-controls-progress-bar {
    background-color: #ffffff;
    width: 150px;
    stroke-width: 10px;
}


.devices {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.devices-title {
    font-size: 20px;
    width: 70%;
}

.add-device {
    color: #ffffff;
    border-radius: 8px;
    width: 130px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.add-device-icon {
    width: 30px;
    height: 30px;
    margin: 0 5px;
}

.device-list {
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-card {
    width: 130px;
    height: 100px;
    border-radius: 10px;
    margin: 10px;
}

.device {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.device-header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70%;
    width: 100%;
}

.device-icon {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 0px;
}

.device-toggle {
    margin: 5px 0 0 0;
    width: 36px;
    height: 20px;
    position: absolute;
    right: 0px;
}

.device-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    width: 100%;
    height: 30%;
}

.device-name {
    position: absolute;
    left: 0px;
    width: 90%;
    height: 20px;
    overflow: hidden;
}

.on-off {
    position: absolute;
    right: 0px;
}


.sidebar {
    overflow: scroll;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.weather {
    display: flex;
    justify-content: center;
    align-items: center;
}

.temperature, .humidity {
    margin-right: 5px;
    border-radius: 10px;
    font-size: 11px;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.weather-title, .weather-value, .temperature-visualizer, .humidity-visualizer {
    margin: 2px;
}

.weather-info {
    display: flex;
    flex-direction: column;
}

.temperature-visualizer {
    background-image: url('common/images/temperature_range.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 30px;
}

.humidity-visualizer {
    background-image: url('common/images/bar_graph.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 30px;
}

.carousel-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 220px;
    height: 220px;
    border-radius: 10px;
    margin: 5px;
}

.carousel {
    display: flex;
    flex-direction: column;
}

.carousel-header {
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-icon {
    width: 50px;
    height: 50px;
}

.carousel-title {
    margin-left: 10px;
    width: 80%;
    overflow: hidden;
    font-size: 10px;
}

.carousel-toggle {
    width: 40px;
    height: 15px;
    margin: 0px;
}

.carousel-content {
    width: 100%;
    height: 120px;
    margin: 10px;
}

.carousel-swiper image {
    border-radius: 10px;
}

.carousel-content-header {
    position: absolute;
    width: 100%;
    margin: 10px;
}

.carousel-content-icon {
    width: 40px;
    height: 15px;
    position: absolute;
    left: 0px;
}

.carousel-content-time {
    font-size: 10px;
    color: #ffffff;
    position: absolute;
    right: 0;
}

.weather-warning-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 250px;
    width: 220px;
    border-radius: 10px;
}

.weather-warning {
    display: flex;
    flex-direction: column;
}

.weather-warning-header {
    width: 100%;
    display: flex;
    align-items: center;
}

.weather-warning-icon {
    width: 60px;
    height: 60px;
}

.weather-warning-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 10px;
}

.weather-warning-location {
    display: flex;
    align-items: center;
}

.weather-warning-location-icon {
    width: 8px;
    height: 11px;
    margin-right: 5px;
}

.weather-warning-buttons {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
}

.weather-warning-day {
    width: 60px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 15px;
    margin: 0 10px 0 0;
}

.weather-warning-week {
    width: 65px;
    height: 38px;
    display: flex;
    font-size: 15px;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.weather-warning-weather {
    width: 150px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.weather-warning-info {
    width: 50%;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.weather-warning-date {
    font-size: 8px;
}

.weather-warning-temperature {
    font-size: 20px;
    margin: 2px 0;
}

.weather-warning-weather-type {
    font-size: 10px;
}

.weather-warning-clouds {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.weather-warning-footer {
    margin-top: 10px;
    font-size: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.error {
    display: none;
    background-color: white;
    font-size: 15px;
    width: 200px;
    height: 200px;
    border-radius: 100px;
}

@media only screen and (max-width: 768px) {
    .main-control-header-title {
        width: 100px;
    }

    .minus, .plus {
        width: 60px;
        height: 72px;
    }

    .sidebar {
        display: none;
    }

    .other-controls {
        margin: 0;
    }
}

@media only screen and (max-width: 400px) {
    .main {
        display: none;
    }

    .sidebar {
        display: none;
    }

    .error {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
